/********************************************************************************/
/*
/********************************************************************************/

//----------------------------------------------------------------------------------------------------
// ID Code      : ScalerVIPCommon.h No.0000
// Update Note  :
//----------------------------------------------------------------------------------------------------

//****************************************************************************
// LAYER DEFINITIONS / MACROS
//****************************************************************************
#define Pin_SPI_CS								0x103F
#define Pin_SPI_DO								0x1039
#define Pin_SPI_DI								0x1048
#define Pin_SPI_CLK								0x1047

#define bSPI_CS									(MCU_FE2F_PORT97_PIN_REG)
#define bSPI_DO									(MCU_FE29_PORT91_PIN_REG)
#define bSPI_DI									(MCU_FE38_PORTB0_PIN_REG)
#define bSPI_CLK								(MCU_FE37_PORTA7_PIN_REG)

#define WB_CS_HIGH()							(bSPI_CS = 1)
#define WB_CS_LOW()								(bSPI_CS = 0)
#define WB_CLK_HIGH()							(bSPI_CLK = 1)
#define WB_CLK_LOW()							(bSPI_CLK = 0)
#define WB_DI_HIGH()							(bSPI_DI = 1)
#define WB_DI_LOW()								(bSPI_DI = 0)
#define WB_GET_DO()								(bSPI_DO)

//****************************************************************************
// STRUCT / TYPE / ENUM DEFINITTIONS
//****************************************************************************


//****************************************************************************
// VARIABLE EXTERN
//****************************************************************************



//****************************************************************************
// FUNCTION EXTERN
//****************************************************************************

